//
//  PlanDataTool.m
//  Traveling
//
//  Created by 尹桥印 on 15/6/22.
//  Copyright (c) 2015年 长沙市岳麓区立早网络科技有限公司. All rights reserved.
//

#import "PlanDataTool.h"

@implementation PlanDataTool

+(void)getScenicAndHotelListWithMaxId:(NSInteger)maxId url:(NSString*)url success:(void (^)(RouteSelectRes *result))success failure:(void (^)(NSError *error))failure{
    NSMutableDictionary *params = [NSMutableDictionary dictionary];
    [params setObject:kAppValue forKey:kAppkey];
    [params setObject:[NSNumber numberWithInteger:maxId] forKey:@"max_id"];
    [self postWithUrl:[NSString stringWithFormat:@"%@%@",BASE_URL,url] param:params resultClass:[RouteSelectRes class] success:success failure:failure];
}
@end
